from selenium.webdriver.common.by import By
class ClassStudentsLocator():

    # 我的工作台/学生信息管理
    student_info_manage = (By.XPATH, '//div[text()="学生信息管理"]')
    # 学生信息管理/学籍注册
    status_register = (By.XPATH, '//div[@element-loading-text="拼命加载中"]/div[1]/aside/div/ul/li[3]/span')
    # 学籍注册/批量导入
    bulk_import = (By.XPATH, '//div[@class="el-card__body"]/form/div[5]/button[1]/span')
    # 批量导入/点击上传 input标签
    click_input = (By.XPATH, '//div[@aria-label="批量添加"]/div[2]/form/div[2]/div/div[1]/div/div/div/div/div[1]/input')
    # 批量导入/导入按钮
    click_import = (By.XPATH, '//div[@aria-label="批量添加"]/div[2]/form/div[2]/button/span')
    # 批量添加/确定按钮
    sure = (By.XPATH, '//div[@aria-label="批量添加"]/div[3]/span/button/span')

    # 数字化班级管理/班级学生
    class_student = (By.XPATH, '//ul[@class="site-sidebar__menu el-menu"]/li[3]/span')
    # 班级学生/批量导入照片
    bulk_import_pic = (By.XPATH, '//div[@class="el-card blue-shadow is-always-shadow"]/div/form/div[5]/button[1]/span')
    # 批量导入照片/批量上传人脸信息
    face_info = (By.XPATH, '//span[text()="批量上传人脸信息"]')
    # 批量上传人脸信息/input标签
    input_label = (By.CSS_SELECTOR, 'input[multiple="multiple"]')
    # 批量上传人脸信息/取消
    face_pic_cancel = (By.XPATH, '//div[@aria-label="批量上传人脸信息"]/div[3]/span/button[1]/span')
    # 批量上传人脸信息/确定
    face_pic_sure = (By.XPATH, '//div[@aria-label="批量上传人脸信息"]/div[3]/span/button[2]/span')
    # 批量上传人脸信息/提示窗口
    face_tips = (By.XPATH, '//div[@class="el-message el-message--error"]/p')